{include="header.html"}
{|$menu7 = $zhlcms::menuInfo(7)}
<!--banner-->
<div class="bannerbox">
    <a href=""><img src="{SYS_LINK}{$menu7.banner}" alt="{$menu7.menuname}"></a>
</div>
<!--content-->
<div class="content">
    <div class="location">
        当前位置：<a href="{SYS_HOST}">首页</a>
        {foreach $zhlcms::menuCrumb($mid) as $v}
            > <a href="{$v.url}">{$v.menuname}</a>
        {/foreach}
    </div>
    <!--news-->
    <div class="c_box">
        <div class="titlebox">
            <a href="{$menu7.url}" class="ahref {if($mid==7)} act {/if}">全部新闻</a> &nbsp; &nbsp;
            {foreach $zhlcms::menuFinds(7) as $v}
            <a href="{$v.url}" class="ahref {if(in_array($v['id'], $mids))} act {/if}">{$v.menuname}</a> &nbsp; &nbsp;
            {/foreach}
        </div>
        <div class="news_box">
            {|$where = array()}
            {if($mid==7)}
                {|$mid=0}
                {|$where = array('in'=>array('a.menu_id'=>array(8,9)))}
            {/if}
            {foreach $zhlcms::pageList('article', $mid, $page, $menuInfo['pagelist'], $where) as $a}
            <div class="new_item">
                <a href="{$a.url}"><img src="{SYS_LINK}{$a.img}" alt="{$a.title}"></a>
                <div class="new_title"><a href="{$a.url}">{$a.title}</a></div>
                <div class="new_desc"><a href="{$a.url}">{fun mbSubstr($a['desctxt'], 0, 100, true)}</a></div>
                <div class="new_time">{fun date('Y-m-d',strtotime($a['createdate']))}</div>
            </div>
            {/foreach}
        </div>
    </div>
    <!--pages-->
    <div class="c_box">
        <div class="pages">
            {$a.pages}
        </div>
    </div>
</div>
{include="footer.html"}
